package com.etc.dao;

import com.etc.entity.Room;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RoomDao {
    public int update(Room room);

    public int buyRoom(@Param("owner_id")Integer owner_id,@Param("id")Integer id);

    public int sellRoom(Integer id);

}
